package com.sky.service;

import com.sky.dto.ShoppingCartDTO;
import com.sky.entity.ShoppingCart;

import java.util.List;

/**
 * @program: sky-take-out
 * @description:
 * @author: fmp
 * @create: 2023-04-09 15:10
 * @Version 1.0
 **/
public interface ShopCartService {
    //查看购物车
    List<ShoppingCart> SelectShopCart();
    //添加购物车
    void InsertShopCart(ShoppingCartDTO shoppingCartDTO);
    //通过useid清空购物车
    void CleanShoppingCart();
    //删除购物车中一个商品
    void SubShoppingCart(ShoppingCartDTO shoppingCartDTO);
}
